package baseFx.tests.common.context.spring;

import org.springframework.stereotype.Component;

public class Model2 implements AutoCloseable {
    public int id;
    private Model model;

    public Model2(Model model) {
        this.model = model;
    }

    public Model getModel() {
        return model;
    }

    @Override
    public void close() {
        System.out.println("closeing model2 = " + this);
    }
}
